#include "GameDLL.h"
#include "Simulation.h"

Simulation::Simulation()
{
}

Simulation::~Simulation()
{
}

VOID Simulation::PreInitialize() {
	_Width = 640;
	_Height = 480;

	Window::SubWindow::RegisterNewClass();
	Window::Initialize();

	_gfx = std::make_unique<Graphics>();
	_gfx->InitD3D(_hWnd, _Width, _Height);
	_gfx->InitGeometry();
}

LRESULT Simulation::HandleMsg(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) {
	switch (message)
	{
	case WM_PAINT:
		break;
	default:
		break;
	}

	return ConmonMessapeHandler(hWnd, message, wParam, lParam);
}
